package com.cskt.itripsearch.condition;


import com.cskt.itripsearch.vo.HotelVO;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface SearchHotelRepository extends ElasticsearchRepository<HotelVO, Long> {
    /**
     * 根据城市Id查询酒店信息
     * @param cityId
     * @return
     */
    List<HotelVO> findByCityId(Long cityId);

}
